package Test;

public class Duck extends Poultry{
	
	/*定义普通鸭子类(Duck)
    1. 提供空参和带参构造方法
    2. 重写showSympto*/
	
	

	@Override
	public void showSymptom() {
		
		System.out.println("动物种类：鸭子，年龄：2岁\n" + "入院原因：感冒\n"+ "症状为：发烧");
		
		showMsg();
	}

	public Duck() {
		super();
	}

	public Duck(String name, String symptom, int age, String illness) {
		super(name, symptom, age, illness);
	}
	
	

}
